package com.card.server.service;


import com.card.server.domain.R;
import com.card.server.model.dto.SignDto;
import com.card.server.model.entity.Users;
import com.card.server.model.ro.UserInfo;
import jakarta.servlet.http.HttpServletRequest;

public interface IUserService {
    R<Users> register(SignDto signDto);

    R<String> login(SignDto signDto, HttpServletRequest request);

    R<Void> logout(Integer userId);

    R<UserInfo> get(Long userId);
}
